package com.roc.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author FengHaiTao
 * 
 */
@Entity
@Table(name = "t_profit_detail")
public class ProfitDetail  implements Serializable{

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "profitDetailSeq")
	@SequenceGenerator(name = "profitDetailSeq", sequenceName = "t_profit_detail_seq")
	private long id;
	@Column(name = "card_class")
	  private String cardClass; //卡类型 信用卡 00，借记卡 01
	@Column(name = "prod_cd")
	  private String prodCd; // 交易类型 t1 d0
	@Column(name = "s_amt")
	  private BigDecimal SAmt; 
	@Column(name = "merfee")
	  private BigDecimal merfee; 
	@Column(name = "t_count")
	  private String TCount; 
	@Column(name = "agent_id")
	  private long agentId; 
	@Transient
	private String agentName;//代理商名称
	@Transient
	private String mchtName;//商户名称
	@Transient
	private String mchtCd;//商户号
	@Transient
	private String transDate;//交易时间
	@Transient
	private String keyRsp;//系统参考号
	@Transient
	private String priAcctNo;//交易账号
	@Transient
	private String accountNo;//账号
	@Transient
	private BigDecimal percent;//百分比
	@Transient
	private BigDecimal realMerfee;//实际分润金额
	
	
	@Transient
	private String termId;//终端号
	@Transient
	private String stlmDate;//结算日期
	
	@Column(name = "create_date")
	  private String createDate; 
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getCardClass() {
		return cardClass;
	}
	public void setCardClass(String cardClass) {
		this.cardClass = cardClass;
	}
	public String getProdCd() {
		return prodCd;
	}
	public void setProdCd(String prodCd) {
		this.prodCd = prodCd;
	}

	public String getTCount() {
		return TCount;
	}
	public void setTCount(String tCount) {
		TCount = tCount;
	}


	public BigDecimal getSAmt() {
		return SAmt;
	}
	public void setSAmt(BigDecimal sAmt) {
		SAmt = sAmt;
	}
	public BigDecimal getMerfee() {
		return merfee;
	}
	public void setMerfee(BigDecimal merfee) {
		this.merfee = merfee;
	}
	public long getAgentId() {
		return agentId;
	}
	public void setAgentId(long agentId) {
		this.agentId = agentId;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public String getAgentName() {
		return agentName;
	}
	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}
	public String getMchtName() {
		return mchtName;
	}
	public void setMchtName(String mchtName) {
		this.mchtName = mchtName;
	}
	public String getMchtCd() {
		return mchtCd;
	}
	public void setMchtCd(String mchtCd) {
		this.mchtCd = mchtCd;
	}
	public String getTransDate() {
		return transDate;
	}
	public void setTransDate(String transDate) {
		this.transDate = transDate;
	}
	public String getKeyRsp() {
		return keyRsp;
	}
	public void setKeyRsp(String keyRsp) {
		this.keyRsp = keyRsp;
	}
	public String getPriAcctNo() {
		return priAcctNo;
	}
	public void setPriAcctNo(String priAcctNo) {
		this.priAcctNo = priAcctNo;
	}
	public String getTermId() {
		return termId;
	}
	public void setTermId(String termId) {
		this.termId = termId;
	}
	public String getStlmDate() {
		return stlmDate;
	}
	public void setStlmDate(String stlmDate) {
		this.stlmDate = stlmDate;
	}

	public BigDecimal getPercent() {
		return percent;
	}
	public void setPercent(BigDecimal percent) {
		this.percent = percent;
	}
	public BigDecimal getRealMerfee() {
		return realMerfee;
	}
	public void setRealMerfee(BigDecimal realMerfee) {
		this.realMerfee = realMerfee;
	}
	public String getAccountNo() {
		return accountNo;
	}
	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}


}
